{% extends "base.html" %}
{% load ago %}
{% block title %}New Videos{% endblock %}
{% block content %}
<div id="page_title">New Videos - FanQueen</div>
<div id="page_description">Check out the latest videos we've added!</div>
<br />
<br />

{% if list_categories %}
<div id="news">
    <ul>
    <li>
    <b>Categories</b>
    {% for value in list_categories %}
    <p><a href='/recent/{{ value.slug }}'>{{ value.name }}</a></p>
    {% endfor %}
    </li>
    </ul>
    <ul>
    <br />
    <li>
    <b>Tags</b>
    {% for value in list_tags %}
    <p><a href='/recent/{{ value.slug }}'>{{ value.name }}</a></p>
    {% endfor %}
    </li>
    </ul>
</div>
{% endif %}

<div id="celeb_videos">
<p><strong>Latest Videos:</strong></p>
<ul>

{% for video in list_video %}
<li><a href="/video/{{ video.id }}/">
{{ video.upload_date|ago }} - {{ video.title }}
</a></li>

{% endfor %}
<br />
<br />
<br />
<div class="page-navigation">
    <a href="./?page=1">First Page</a> | 
    {% if has_previous %}
    <a href="./?page={{ previous_page }}">Prep Page</a>
    {% else %}
    <span class="nav-disabled">Prep Page</span>
    {% endif %} | 
    {% if has_next %}
    <a href="./?page={{ next_page }}">Next Page</a>
    {% else %}
    <span class="nav-disabled">Next Page</span>
    {% endif %} | 
    <a href="./?page={{ pages }}">End Page</a>
</div>


<br />
<br />
<br />


</div>
{% endblock %}
